package com.example.sms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.sms.entity.Administrators;
import com.example.sms.entity.dto.LoginDTO;
import com.example.sms.entity.dto.RegisterDTO;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface AdministratorsService extends IService<Administrators> {
    Integer register(RegisterDTO registerDTO);

    Administrators login(LoginDTO loginDTO);
}
